<include file="Public/header" title="添加房源" />

<div id="page-wrapper">
    <form method="post" action="{:U('rent/add')}"  enctype="multipart/form-data">

        <h2>基本信息</h2>
    <!-- 标题 -->
        <div class="form-group  row">
            <label class="col-sm-1">房源标题</label>
			 <div class="col-sm-11">
            <input type="text" name="title" placeholder="房源标题" class="form-control"  />
            </div> 
		</div> 
    <!-- 房源编号 -->
        <div class="form-group  row">
            <label class="col-sm-1">房源编号</label>
			 <div class="col-sm-11">
            <input type="text" name="bianhao" placeholder="房源编号" class="form-control" value="{$bianhao}"  />
            </div> 
		</div> 		
    <!-- 区域 -->
        <div class="form-group row">
            <label class="col-sm-1">房屋区域</label>
            <div class="col-sm-11">
                <input type="radio" name="area" value="沙河口区" style="display:inline-block;margin-left:20px;" />沙河口区
                <input type="radio" name="area" value="西岗区" style="display:inline-block;margin-left:20px;" />西岗区
                <input type="radio" name="area" value="中山区" style="display:inline-block;margin-left:20px;" />中山区
                <input type="radio" name="area" value="甘井子区" style="display:inline-block;margin-left:20px;" />甘井子区
                <input type="radio" name="area" value="高新园区" style="display:inline-block;margin-left:20px;" />高新园区                                 
            </div>
        </div>
		
    <!-- 详细地址 -->
        <div class="form-group  row">
            <label class="col-sm-1">详细地址</label>
			 <div class="col-sm-11">
            <input type="text" name="dizhi" placeholder="详细地址" class="form-control"  />
            </div> 
		</div> 
    <!-- 所属小区 -->
        <div class="form-group  row">
            <label class="col-sm-1">所属小区</label>
			 <div class="col-sm-11">
            <input type="text" name="xiaoqu" placeholder="所属小区" class="form-control"  />
            </div> 
		</div> 
    <!-- 地铁 -->
        <div class="form-group row">
            <label class="col-sm-1">附近地铁</label>
            <div class="col-sm-11">
                <input type="radio" name="tube" value="地铁一号线" style="display:inline-block;margin-left:20px;" />地铁一号线
                <input type="radio" name="tube" value="地铁二号线" style="display:inline-block;margin-left:20px;" />地铁二号线
                <input type="radio" name="tube" value="地铁三号线" style="display:inline-block;margin-left:20px;" />地铁三号线
                <input type="radio" name="tube" value="地铁四号线" style="display:inline-block;margin-left:20px;" />地铁四号线
                <input type="radio" name="tube" value="地铁五号线" style="display:inline-block;margin-left:20px;" />地铁五号线                   
            </div>
        </div> 
    <!-- 价格 -->
        <div class="form-group  row">
            <label class="col-sm-1">房租价格</label>
			 <div class="col-sm-11">
            <input type="text" name="price" placeholder="房租价格" class="form-control"  />
            </div> 
		</div> 
    <!-- 价格区间 -->
        <div class="form-group row">
            <label class="col-sm-1">价格区间</label>
            <div class="col-sm-11">
                <input type="radio" name="price_area" value="1000元以下" style="display:inline-block;margin-left:20px;" />1000元以下
                <input type="radio" name="price_area" value="1000-1200元" style="display:inline-block;margin-left:20px;" />1000-1200元
                <input type="radio" name="price_area" value="1200-1400元" style="display:inline-block;margin-left:20px;" />1200-1400元
                <input type="radio" name="price_area" value="1400-1600元" style="display:inline-block;margin-left:20px;" />1400-1600元 
                <input type="radio" name="price_area" value="1600元以上" style="display:inline-block;margin-left:20px;" />1600元以上                   
            </div>
        </div> 
    <!-- 面积 -->
        <div class="form-group  row">
            <label class="col-sm-1">租房面积</label>
			 <div class="col-sm-11">
            <input type="text" name="mianji" placeholder="租房面积" class="form-control"  />
            </div> 
		</div>
    <!-- 面积区间 -->
        <div class="form-group row">
            <label class="col-sm-1">面积区间</label>
            <div class="col-sm-11">
                <input type="radio" name="mianji_area" value="10㎡以下" style="display:inline-block;margin-left:20px;" />10㎡以下
                <input type="radio" name="mianji_area" value="10-12㎡" style="display:inline-block;margin-left:20px;" />10-12㎡
                <input type="radio" name="mianji_area" value="12-15㎡" style="display:inline-block;margin-left:20px;" />12-15㎡
                <input type="radio" name="mianji_area" value="15-20㎡" style="display:inline-block;margin-left:20px;" />15-20㎡  
                <input type="radio" name="mianji_area" value="20㎡以上" style="display:inline-block;margin-left:20px;" />20㎡以上             
            </div>
        </div> 
    <!-- 租房户型 -->
        <div class="form-group row">
            <label class="col-sm-1">租房户型</label>
            <div class="col-sm-11">
                <input type="radio" name="huxing" value="一室" style="display:inline-block;margin-left:20px;" />一室
                <input type="radio" name="huxing" value="二室" style="display:inline-block;margin-left:20px;" />二室
                <input type="radio" name="huxing" value="三室" style="display:inline-block;margin-left:20px;" />三室
                <input type="radio" name="huxing" value="四室" style="display:inline-block;margin-left:20px;" />四室                
            </div>
        </div> 
    <!-- 租房配置 -->
        <div class="form-group row">
            <label class="col-sm-1">租房配置</label>
            <div class="col-sm-11">
                <input type="checkbox"  name="peizhi[]" value="床" style="display:inline-block;margin-left:20px;" />床
                <input type="checkbox"  name="peizhi[]" value="空调" style="display:inline-block;margin-left:20px;" />空调
                <input type="checkbox"  name="peizhi[]" value="热水器" style="display:inline-block;margin-left:20px;" />热水器
                <input type="checkbox"  name="peizhi[]" value="冰箱" style="display:inline-block;margin-left:20px;" />冰箱   
                <input type="checkbox"  name="peizhi[]" value="电视" style="display:inline-block;margin-left:20px;" />电视 
                <input type="checkbox"  name="peizhi[]" value="家具" style="display:inline-block;margin-left:20px;" />家具
                <input type="checkbox"  name="peizhi[]" value="独立卫生间" style="display:inline-block;margin-left:20px;" />独立卫生间
                  
            </div>
        </div> 
		
    <!-- 公共配置 -->
        <div class="form-group row">
            <label class="col-sm-1">公共配置</label>
            <div class="col-sm-11">
                <input type="checkbox"  name="tese[]" value="洗衣机" style="display:inline-block;margin-left:20px;" />洗衣机
                <input type="checkbox"  name="tese[]" value="宽带" style="display:inline-block;margin-left:20px;" />宽带
                <input type="checkbox"  name="tese[]" value="阳台" style="display:inline-block;margin-left:20px;" />阳台
                <input type="checkbox"  name="tese[]" value="厨房" style="display:inline-block;margin-left:20px;" />厨房
                <input type="checkbox"  name="tese[]" value="游泳池" style="display:inline-block;margin-left:20px;" />游泳池
                <input type="checkbox"  name="tese[]" value="停车位" style="display:inline-block;margin-left:20px;" />停车位   
                <input type="checkbox"  name="tese[]" value="电梯" style="display:inline-block;margin-left:20px;" />电梯                   
            </div>
        </div> 
		
    <!-- 租赁方式 -->
        <div class="form-group row">
            <label class="col-sm-1">租赁方式</label>
            <div class="col-sm-11">
                <input type="radio" name="zulinfs" value="整租" style="display:inline-block;margin-left:20px;" />整租
                <input type="radio" name="zulinfs" value="合租" style="display:inline-block;margin-left:20px;" />合租
                <input type="radio" name="zulinfs" value="直租" style="display:inline-block;margin-left:20px;" />直租                   
            </div>
        </div>
		
    <!-- 房子朝向 -->
        <div class="form-group row">
            <label class="col-sm-1">房子朝向</label>
            <div class="col-sm-11">
                <input type="radio" name="chaoxiang" value="东向" style="display:inline-block;margin-left:20px;" />东向
                <input type="radio" name="chaoxiang" value="南向" style="display:inline-block;margin-left:20px;" />南向
                <input type="radio" name="chaoxiang" value="西向" style="display:inline-block;margin-left:20px;" />西向
                <input type="radio" name="chaoxiang" value="北向" style="display:inline-block;margin-left:20px;" />北向  
                <input type="radio" name="chaoxiang" value="南北向" style="display:inline-block;margin-left:20px;" />南北向
                <input type="radio" name="chaoxiang" value="东西向" style="display:inline-block;margin-left:20px;" />东西向               
            </div>
        </div>
    <!-- 房子装修 -->
        <div class="form-group row">
            <label class="col-sm-1">房子装修</label>
            <div class="col-sm-11">
                <input type="radio" name="zhuangxiu" value="毛坯" style="display:inline-block;margin-left:20px;" />毛坯
                <input type="radio" name="zhuangxiu" value="普通装修" style="display:inline-block;margin-left:20px;" />普通装修
                <input type="radio" name="zhuangxiu" value="精装修" style="display:inline-block;margin-left:20px;" />精装修
                <input type="radio" name="zhuangxiu" value="豪华装修" style="display:inline-block;margin-left:20px;" />豪华装修             
            </div>
        </div>

    <!-- 房子楼层 -->
        <div class="form-group  row">
            <label class="col-sm-1">房子楼层</label>
			 <div class="col-sm-11">
            <input type="text" name="floor" placeholder="房子楼层" class="form-control"  />
            </div> 
		</div> 
		
    <!-- 首页视频图片 -->
        <div class="form-group row">
            <label class="col-sm-1">首页视频图片</label>
            <div class="col-sm-11">
           <input type="file" name="pic[]" class="form-control" >
            </div>
        </div>
    <!-- 首页大图片推荐 -->
        <div class="form-group row">
            <label class="col-sm-1">首页视频推荐</label>
            <div class="col-sm-11">
                <input type="radio" name="recommend" value="1" style="display:inline-block;margin-left:20px;" />否
                <input type="radio" name="recommend" value="2" style="display:inline-block;margin-left:20px;" />是       
            </div>
        </div>
    <!-- 房源列表图片 -->
        <div class="form-group row">
            <label class="col-sm-1">房源列表图片</label>
            <div class="col-sm-11">
           <input type="file" name="piclist[]" class="form-control"  multiple="multiple" >
            </div>
        </div>
		
    <!-- 内页公共区图 -->
        <div class="form-group row">
            <label class="col-sm-1">内页公共区图</label>
            <div class="col-sm-11">
           <input type="file" name="picct[]" class="form-control" multiple="multiple">
            </div>
        </div>

        <div class="form-group row">
            <label class="col-sm-1">价格图</label>
            <div class="col-sm-11">
           <input type="file" name="picprice[]" class="form-control" multiple="multiple">
            </div>
        </div>
		

        <div class="form-group">
            <label for="post-content">正文内容</label>
            <script id="post-content" name="content" type="text/plain"></script>
        </div>

  <button type="submit" class="btn btn-default">提交</button>
    </form>
</div>

<!-- 配置文件 -->
<script type="text/javascript" src="__PUBLIC__/ueditor/ueditor.config.js"></script>
<!-- 编辑器源码文件 -->
<script type="text/javascript" src="__PUBLIC__/ueditor/ueditor.all.js"></script>
<!-- 实例化编辑器 -->
<script type="text/javascript">
    var ue = UE.getEditor('post-content',{
        toolbars: [
            ['fullscreen', 'source', 'undo', 'redo','bold', 'italic', 'underline','fontborder', 'strikethrough', '|','simpleupload', 'insertimage','attachment','emotion','link','unlink', '|', 'removeformat', 'formatmatch', 'autotypeset', 'blockquote','searchreplace', 'pasteplain', '|', 'forecolor', 'backcolor', 'insertorderedlist', 'insertunorderedlist', 'selectall', 'cleardoc'],
            ['inserttable','insertrow', 'insertcol','mergeright', 'mergedown','deleterow', 'deletecol','splittorows','splittocols', 'splittocells','deletecaption','inserttitle', 'mergecells', 'deletetable','insertparagraphbeforetable', 'paragraph','fontsize','fontfamily']
        ],
        initialFrameHeight:300,
        zIndex:100
    });
</script>
<include file="Public/footer" />